export interface TableConfig {
  showToolbar?: boolean
  showCheckbox?: boolean
  showPagination?: boolean
  paginationConfig?: PaginationConfig
  tableColumns: TableColumn[]
}

export interface TableColumn {
  label: string
  prop?: string
  width?: number
  minWidth?: number
  fixed?: FixedType
  slot?: string
  align?: AlignType
  headerAlign?: AlignType
}

export type FixedType = true | 'left' | 'right'
export type AlignType = 'left' | 'center' | 'right'

export interface PaginationConfig {
  pageSizes?: number[]
  layout?: string
}

export interface PaginationData {
  currentPage: number
  pageSize: number
}
